package com.yalu.entity.data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.yalu.entity.base.BaseEntity;

@Entity
@Table(name = "stores")
public class Stores extends BaseEntity{

	@Override
	public boolean equals(Object obj) {
		Stores other = (Stores)obj;
		if(other.getNo()==this.getNo()){
			return true;
		}
		return false;
	}
	@Override
	public int hashCode() {
		return super.hashCode();
	}
	private static final long serialVersionUID = 7368314715621396949L;
	private int no;
	private String name;// 
	private String attribute_id;// 
	private String attribute;// 
	private int isdeleted;// 
	private String createdt;// 
	private int createby;// 
	private String updatedt;// 
	private Integer updateby;// 
	
	@Id
	public int getNo() {
		return no;
	}
	public void setNo(int no) {
		this.no = no;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAttribute_id() {
		return attribute_id;
	}
	public void setAttribute_id(String attribute_id) {
		this.attribute_id = attribute_id;
	}
	public String getAttribute() {
		return attribute;
	}
	public void setAttribute(String attribute) {
		this.attribute = attribute;
	}
	public int getIsdeleted() {
		return isdeleted;
	}
	public void setIsdeleted(int isdeleted) {
		this.isdeleted = isdeleted;
	}
	public String getCreatedt() {
		return createdt;
	}
	public void setCreatedt(String createdt) {
		this.createdt = createdt;
	}
	public int getCreateby() {
		return createby;
	}
	public void setCreateby(int createby) {
		this.createby = createby;
	}
	public String getUpdatedt() {
		return updatedt;
	}
	public void setUpdatedt(String updatedt) {
		this.updatedt = updatedt;
	}
	public Integer getUpdateby() {
		return updateby;
	}
	public void setUpdateby(Integer updateby) {
		this.updateby = updateby;
	}
}
